import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';

class OptionsView extends StatefulWidget {
  OptionsView({super.key, required this.title});
  String title;
  @override
  State<OptionsView> createState() => _OptionsViewState();
}

class _OptionsViewState extends State<OptionsView> {
  String title = '';
  @override
  void initState() {
    super.initState();
    title = widget.title;
  }

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        const SizedBox(width: 20),
        Text(
          title,
          style: const TextStyle(fontSize: 16),
        ),
        const Spacer(),
        SvgPicture.asset(
          colorFilter: const ColorFilter.mode(Colors.grey, BlendMode.srcIn),
          'images/ic_btn_more.svg',
        ),
        const SizedBox(width: 20),
      ],
    );
  }
}
